home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / getipforwarding.z / getipforwarding
Encoding:
Text File  |  2002-10-03  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGEEEETTTTIIIIPPPPFFFFOOOORRRRWWWWAAAARRRRDDDDIIIINNNNGGGG((((1111MMMM))))                                        GGGGEEEETTTTIIIIPPPPFFFFOOOORRRRWWWWAAAARRRRDDDDIIIINNNNGGGG((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getipforwarding - get ipforwarding state using systune
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////ggggeeeettttiiiippppffffoooorrrrwwwwaaaarrrrddddiiiinnnngggg
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _G_e_t_i_p_f_o_r_w_a_r_d_i_n_g uses _s_y_s_t_u_n_e to get the ipforwarding state.  Systune
  16.      supports ipforwarding since 6.3 only. When the command is completed, it
  17.      writes a '1' to stdout if ipforwarding is on and a '0' if it is off.  If
  18.      the ipforwarding systune is equal to 2 (i.e. forward packets unless they
  19.      contain a source-route option) _g_e_t_i_p_f_o_r_w_a_r_d_i_n_g returns 1.
  20.  
  21. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  22.      sysmgr(1), runpriv(1M), systune(1M).
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.